﻿using System;
using System.Text;
using Microsoft.RuleEngine;

namespace Microsoft.BizTalk.Samples.EDIGuidance.HelperComponents
{
    public class EDIBREHelperFactCreator : IFactCreator
    {
        #region IFactCreator Members

        public object[] CreateFacts(RuleSetInfo ruleSetInfo)
        {
            EDIBREHelper eHelper = new EDIBREHelper();
            object[] facts = new object[1];
            facts[0] = eHelper;
            return facts;
        }

        public Type[] GetFactTypes(RuleSetInfo ruleSetInfo)
        {
            Type[] t = new Type[1];
            t[0] = typeof(EDIBREHelper);
            return t;
        }

        #endregion
    }
}
